package com.example.demo.test;

import jdk.nashorn.internal.objects.annotations.Getter;
import lombok.Data;

/**
 * created by flyketch
 * 19-10-18 下午4:07
 */
@Data
public class LoggerMessage {

    private String body;
    private String timestamp;
    private String threadName;
    private String className;
    private String level;
    private String exception;
    private String cause;

    public LoggerMessage(String body, String timestamp, String threadName, String className, String level, String exception, String cause) {
        this.body = body;
        this.timestamp = timestamp;
        this.threadName = threadName;
        this.className = className;
        this.level = level;
        this.exception = exception;
        this.cause = cause;
    }

    public LoggerMessage() {
    }
}
